﻿using System.ComponentModel.DataAnnotations;
using WMSUIMVC.Aubit;

namespace WMSUIMVC.DTO.Finance
{
    public class updReceDTO:BaseDTO
    {
        /// <summary>
        /// 应收管理id
        /// </summary>
        public int ReceivableId { get; set; }

        /// <summary>
        /// 流水号
        /// </summary>
        public string? SerialNumber { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        public string? ReceivableName { get; set; }

        /// <summary>
        /// 类型
        /// </summary>
        public int? FinanceTypeId { get; set; }

        /// <summary>
        /// 最后付款日
        /// </summary>
        public DateTime? Lastpaydate { get; set; }

        /// <summary>
        /// 付款方
        /// </summary>
        public string? Payer { get; set; }

        /// <summary>
        /// 收款方
        /// </summary>
        public string? Beneficiary { get; set; }

        /// <summary>
        /// 应收金额
        /// </summary>
        public decimal? ReceivableAmount { get; set; }
        /// <summary>
        /// 实收金额
        /// </summary>
        public decimal? PaymentPrice { get; set; }
        /// <summary>
        /// 剩余金额
        /// </summary>
        public decimal? ResidueMoney { get; set; }

        /// <summary>
        /// 付款次数
        /// </summary>
        public int? PaymentNum { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public int? ReceivableState { get; set; }


        /// <summary>
        /// 备注
        /// </summary>
        public string? RRremark { get; set; }



        /// <summary>
        /// 公司id
        /// </summary>
        public string? Office_Id { get; set; }

        /// <summary>
        /// 用户id
        /// </summary>
        public int? User_Id { get; set; }
        /// <summary>
        /// 添加人姓名
        /// </summary>
        public string? AddName { get; set; }

        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime? AddTime { get; set; } = DateTime.Now;
        // <summary>
        ///修改人姓名
        /// </summary>
        public string? updName { get; set; }

        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? updTime { get; set; } = DateTime.Now;
    }
}
